#ifndef TEST_ITEM_H
#define TEST_ITEM_H

typedef enum
{
	TEST_PASS_E,
	TEST_FAIL_E,
	TEST_SKIP_E
} TEST_RESULT_ENUM;

typedef TEST_RESULT_ENUM (* TEST_RUN_FUNC_TYPE)(void);

typedef void (* GET_TITLE_FUNC_TYPE)(CString& szTitle);


// Run test
// Return: Test result, see definition of TEST_RESULT_ENUM
extern TEST_RESULT_ENUM  TestItemRun(void);

// Get the title of the test item
// pszBuffer(out) - A buffer to contain the string of title
// dwSize         - The size of buffer
extern void TestItemGetTitle(CString& szTitle);

#endif


